﻿<!DOCTYPE html>
<html lang="en">
<head th:replace="~{parts/head}">

<!-- page wrapper -->
<body>

    <div class="boxed_wrapper">

        <!-- preloader -->
        <div class="preloader"></div>
        <!-- preloader -->


        <!-- main header -->
        <header class="main-header style-three">

            <!-- header-lower -->
            <div class="header-lower">
                <div class="outer-box clearfix">
                    <div class="left-column">
                        <div class="logo-box">
                            <figure class="logo"><a href="/"><img src="../../images/logo-3.png" alt=""></a></figure>
                        </div>
                        <div th:replace="~{parts/menu-area}">
                        </div>
                        <div class="right-column pull-right">
                            <div th:replace="~{parts/author-box}">
                            </div>
                        </div>
                    </div>

                    <!--sticky Header-->
                    <div class="sticky-header">
                        <div class="auto-container">
                            <div class="outer-box">
                                <div class="logo-box">
                                    <figure class="logo"><a href="/"><img src="../../images/small-logo.png" alt=""></a></figure>
                                </div>
                                <div class="menu-area">
                                    <nav class="main-menu clearfix">
                                        <!--Keep This Empty / Menu will come through Javascript-->
                                    </nav>
                                </div>
                                <!--                        <div class="btn-box"><a href="register-page.html" class="theme-btn-one"><i class="icon-image"></i>Join Now</a></div>-->
                            </div>
                        </div>
                    </div>
        </header>
        <!-- main-header end -->

        <!-- Mobile Menu  -->
        <div class="mobile-menu">
            <div class="menu-backdrop"></div>
            <div class="close-btn"><i class="fas fa-times"></i></div>
            
            <nav class="menu-box">
                <div class="nav-logo"><a href="/"><img src="../../images/logo-2.png" alt="" title=""></a></div>
                <div class="menu-outer"><!--Here Menu Will Come Automatically Via Javascript / Same Menu as in Header--></div>
                <div class="contact-info">
                    <h4>Contact Info</h4>
                    <ul>
                        <li>Chicago 12, Melborne City, USA</li>
                        <li><a href="">+88 01682648101</a></li>
                        <li><a href="mailto:info@example.com">info@example.com</a></li>
                    </ul>
                </div>
                <div class="social-links">
                    <ul class="clearfix">
                        <li><a href="/"><span class="fab fa-twitter"></span></a></li>
                        <li><a href="/"><span class="fab fa-facebook-square"></span></a></li>
                        <li><a href="/"><span class="fab fa-pinterest-p"></span></a></li>
                        <li><a href="/"><span class="fab fa-instagram"></span></a></li>
                        <li><a href="/"><span class="fab fa-youtube"></span></a></li>
                    </ul>
                </div>
            </nav>
        </div><!-- End Mobile Menu -->


        <!--page-title-two-->
        <section class="page-title-two">
            <div class="title-box centred bg-color-2">
                <div class="pattern-layer">
                    <div class="pattern-1" style="background-image: url(../../images/shape/shape-70.png);"></div>
                    <div class="pattern-2" style="background-image: url(../../images/shape/shape-71.png);"></div>
                </div>
                <div class="auto-container">
                    <div class="title">
                        <h1>诊室列表</h1>
                    </div>
                </div>
            </div>
            <div class="lower-content">
                <div class="auto-container">
                    <ul class="bread-crumb clearfix">
                        <li><a href="/">主页</a></li>
                        <li><a style="cursor: pointer" onclick="window.history.back(-1);">上一页</a></li>
                        <li>诊室列表</li>
                    </ul>
                </div>
            </div>
        </section>
        <!--page-title-two end-->


        <div class="select-field bg-color-3">
            <div class="auto-container">
                <div class="content-box">
                    <div class="form-inner clearfix">
                        <form action="index.html" method="post">
                            <div class="form-group clearfix">
<!--                                <select class="wide">-->
<!--                                   <option data-display="Select Location">Select Location</option>-->
<!--                                   <option value="1">California</option>-->
<!--                                   <option value="2">New York</option>-->
<!--                                   <option value="3">Sun Francis</option>-->
<!--                                   <option value="4">Shicago</option>-->
<!--                                </select>-->
                                <input type="text" name="name" placeholder="搜索：科室名称" required="">
                                <button><i class="icon-Search"></i></button>
                            </div>
                        </form>
<!--                        <ul class="select-box clearfix">-->
<!--                            <li>-->
<!--                                <div class="single-checkbox">-->
<!--                                    <input type="radio" name="check-box" id="check1">-->
<!--                                    <label for="check1"><span></span>All</label>-->
<!--                                </div>-->
<!--                            </li>-->
<!--                            <li>-->
<!--                                <div class="single-checkbox">-->
<!--                                    <input type="radio" name="check-box" id="check2">-->
<!--                                    <label for="check2"><span></span>Doctor</label>    -->
<!--                                </div>-->
<!--                            </li>-->
<!--                            <li>-->
<!--                                <div class="single-checkbox">-->
<!--                                    <input type="radio" name="check-box" id="check3" checked="">-->
<!--                                    <label for="check3"><span></span>Clinic</label>-->
<!--                                </div>-->
<!--                            </li>-->
<!--                        </ul>-->
                    </div>
                </div>
            </div>
        </div>


        <!-- clinic-section -->
        <section class="clinic-section">
            <div class="auto-container">
                <div class="row clearfix">
                    <div class="col-lg-8 col-md-12 col-sm-12 content-side">
                        <div class="item-shorting clearfix">
                            <div class="left-column pull-left">
                                <h3>全部科室</h3>
                            </div>
                        </div>
                        <div class="wrapper list">
                            <div class="clinic-list-content list-item">
                                <div class="clinic-block-one" th:each="item:${clinics}">
                                    <div class="inner-box">
                                        <div class="pattern">
                                            <div class="pattern-1" style="background-image: url(../../images/shape/shape-24.png);"></div>
                                            <div class="pattern-2" style="background-image: url(../../images/shape/shape-25.png);"></div>
                                        </div>
                                        <figure class="image-box"><img src="../../images/clinic/clinic-1.png" alt=""></figure>
                                        <div class="content-box">
                                            <div class="like-box"><a><i class="far fa-heart"></i></a></div>
                                            <ul class="name-box clearfix">
                                                <li class="name"><h3><a th:href="@{'/clinic-details?clinicId='+${item.id}}" th:text="${item.name}">Dr. Julia Jhones</a></h3></li>
                                                <li><i class="icon-Trust-1"></i></li>
                                                <li><i class="icon-Trust-2"></i></li>
                                            </ul>
                                            <span class="designation" th:text="${item.intro1}">It’s all about care</span>
                                            <div class="text" th:text="${item.intro2}">
                                                <p>Lorem ipsum dolor sit amet consectur adipisc elit sed eiusmod tempor incididunt labore dolore magna.</p>
                                            </div>
<!--                                            <div class="rating-box clearfix">-->
<!--                                                <ul class="rating clearfix">-->
<!--                                                    <li><i class="icon-Star"></i></li>-->
<!--                                                    <li><i class="icon-Star"></i></li>-->
<!--                                                    <li><i class="icon-Star"></i></li>-->
<!--                                                    <li><i class="icon-Star"></i></li>-->
<!--                                                    <li><i class="icon-Star"></i></li>-->
<!--                                                    <li><a href="clinic-details.html">(17)</a></li>-->
<!--                                                </ul>-->
<!--                                                <div class="link"><a href="clinic-details.html">24/7 Available</a></div>-->
<!--                                            </div>-->
<!--                                            <div class="location-box">-->
<!--                                                <p><i class="fas fa-map-marker-alt"></i>G87P, Birmingham, UK</p>-->
<!--                                            </div>-->
                                            <div class="btn-box"><a th:href="@{'/clinic-details?clinicId='+${item.id}}">查看信息</a></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-12 col-sm-12 sidebar-side">
                        <div class="map-inner ml-10">
                            <div 
                                class="google-map" 
                                id="contact-google-map" 
                                data-map-lat="40.712776" 
                                data-map-lng="-74.005974" 
                                data-icon-path="../../images/icons/map-marker.png"  
                                data-map-title="Brooklyn, New York, United Kingdom" 
                                data-map-zoom="12" 
                                data-markers='{
                                    "marker-1": [40.712776, -74.005974, "<h4>Branch Office</h4><p>77/99 New York</p>","../../images/icons/map-marker.png"]
                                }'>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- clinic-section end -->


        <!-- agent-section -->
        <section class="agent-section">
            <div class="auto-container">
                <div class="inner-container bg-color-2">
                    <div th:replace="~{parts/agent-section}"></div>
                </div>
            </div>
        </section>
        <!-- agent-section -->


        <!-- main-footer -->
        <div th:replace="~{parts/main-footer}"></div>
        <!-- main-footer end -->


        <!--Scroll to top-->
        <button class="scroll-top scroll-to-target" data-target="html" onclick='location.href=("/message?targetId=6")'>
            <img src="../../images/robot-2.png">
        </button>
    </div>

    <script th:replace="~{parts/js}"></script>
    <script>
        $('#clinic_tab').addClass("current");
    </script>
</body><!-- End of .page_wrapper -->
</html>
